package com.itheima.stock.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @文件名: IdWorkProperties
 * @作者: DX
 * @创建日期: 2025/11/7
 * @描述:
 */
@Data
@Component
@ConfigurationProperties(prefix = "id-work.config")
public class IdWorkProperties {

    private long workerId;

    private long datacenterId;
}
